<?php 
class commentViewModel extends viewModel {

    public $table = "comment";
    public $view = array(
         "user" => array(
            "join_type" => "inner",
            "on" => "comment.uid = user.uid"
        )
    );

}	
?>